package com.aikon.wht.innerclass;

public class TestOfInnerclass {
	
	public void execute(String s,Action action){
		
		action.print(s);
	}

	
	public static void main(String[] args){
		TestOfInnerclass testOfInnerclass = new TestOfInnerclass();
		String s = "asdf";
		testOfInnerclass.execute(s,new Action() {

			public void print(String s) {
				System.out.println(s);
			}
		});
		Outter outter = new Outter();
		outter.method1();
	}


}
